import service from '@/libs/http'

// 获取所有用户
export const getAllUsers = () => {
    return service.get('/api/getusers')
}

// 删除单个用户
export const deleteUser = (username) => {
  return service.get(`/api/deluser?username=${username}`)
}
